package com.dhy.dto;

import com.dhy.dbCore.anno.ParamMapping;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 大忽悠
 * @create 2022/6/21 17:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourserMajorDto {
    private Integer id;
    /**
     * 课程类型: 0是必修课,1是选修课,2是公选课
     */
    @ParamMapping("0=必修课;1=选修课;2=公选课")
    private String type;
    private Integer credits;
    private String majorName;
    private String name;
}
